package com.etrans.web.gps.business.system.service;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.etrans.web.gps.base.service.BaseService;
import com.etrans.web.gps.util.Config;

@Service
public class SystemService extends BaseService{
	
	@Autowired
	private Config config;
	
	/**
	 * 部署区域名称
	 */
	private String areaName;
	
	public String getAreaName() {
		if (StringUtils.isBlank(areaName)) {
			areaName = selectOne("system.queryAreaName",config.area_code);
		}
		return areaName;
	}
	
	

}
